﻿package com.esm.serviceimpl;

import com.esm.dao.UserDao;
import com.esm.daoimpl.UserDaoImpl;
import com.esm.model.User;
import com.esm.service.LoginService;


/**
 * 
 * @author 王文成
 *
 */



public class LoginServiceImpl implements LoginService{
	UserDao udao = new UserDaoImpl();
	
	public User userLogin(User currentUser) 
	{
		return udao.findUser(currentUser.getUname(), currentUser.getUpsw());

    }
}